<template>
    <div class="error-container">
        <el-card class="error-card">
            <div class="error-title">
                <h1>404</h1>
                <p>抱歉，您访问的页面不存在</p>
            </div>
            <el-button type="primary" @click="$router.push('/home')">返回首页</el-button>
        </el-card>
    </div>
</template>

<style scoped>
.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f2f5;
}

.error-card {
    width: 400px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.error-title {
    margin-bottom: 20px;
}

.error-title h1 {
    font-size: 48px;
    color: #ff4d4f;
}

.error-title p {
    font-size: 16px;
    color: #666;
}
</style>